package com.archetype.schedule.main;

import com.cellulam.framework.core.utils.WarningsUtil;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(scanBasePackages = "com.archetype")
@EnableScheduling
public class ScheduleStarter {
    public static void main(String[] args){
        WarningsUtil.disableAccessWarnings();
        new SpringApplicationBuilder(ScheduleStarter.class)
                .web(WebApplicationType.NONE) // .REACTIVE, .SERVLET
                .run(args);
    }
}
